//
//  StringValueNode.m
//  DataCollector
//
//  Created by jiro on 12/06/29.
//  Copyright 2012 jiro music. All rights reserved.
//

#import "StringValueNode.h"


StringValueNode::StringValueNode( NSString* value )
{
	stringValue = value;
}

NSString* StringValueNode::query() const
{
	NSString* value = [ stringValue stringByReplacingOccurrencesOfString: @"'" withString: @"\'" ];
	NSString* s = [ NSString stringWithFormat: @"'%@'", value ];
	return s;
}
